package cn.source.zk.mapper;

import cn.source.zk.domain.dto.DbDataAnalysisQueryDTO;
import cn.source.zk.domain.entity.Channel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DbDataAnalysisMapper {

    /**
     * 折线图数据
     * @param dto
     */
    List<Map<String,Object>> getFlowLine(DbDataAnalysisQueryDTO dto);
    List<Map<String,Object>> getFlowDatabase(@Param("dto") DbDataAnalysisQueryDTO dto,@Param("columns") String columns);

    /**
     *
     * @param dto
     * @return
     */
    List<String> getChannelList(@Param("dto") DbDataAnalysisQueryDTO dto);
}
